const app = getApp()
Page({
  data: {
    region: app.globalData.region,// 选中的数据
  },
  //点击确定按钮
  bindRegionChange: function (e) {
    const region={
      value:e.detail.value,
      code:e.detail.code
    }
    app.globalData.region=region
    this.setData({
      region: region
    })
  }
})
